]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
style: Theme pagination arrows as per mockups
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 28 Jun 2022 16:19:55 +0000 (13:19 -0300)
committerMarge Bot <marge-bot@gnome.org>
Wed, 10 Aug 2022 15:16:36 +0000 (15:16 +0000)
The style is essentially a copy of %osd_button, but adapted to
style the inner icon instead of the whole button.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2335>

data/theme/gnome-shell-sass/widgets/_app-grid.scss

index 6add597ea28468a1078d075db738b9663e48bd91..abea753353227ba06087ce511ddacd2e3ed484d6 100644 (file)
@@ -146,8 +146,16 @@ $app_icon_size: 96px;
   }
 }
 
-.page-navigation-arrow > StIcon {
-  margin: 6px;
-  width: 24px;
-  height: 24px;
+.page-navigation-arrow {
+  &  > StIcon {
+    margin: 6px;
+    padding: 18px;
+    width: 24px;
+    height: 24px;
+    border-radius: 99px;
+  }
+
+  &:insensitive > StIcon { @include button(undecorated, $osd_fg_color, transparentize($osd_bg_color, 0.5));}
+  &:hover > StIcon { @include button(hover, $osd_fg_color, transparentize($osd_bg_color, 0.5));}
+  &:active > StIcon { @include button(active, $osd_fg_color, transparentize($osd_bg_color, 0.5));}
 }